/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-04-13
 * Time: 20:46
 */
public class Main {
    public static void main(String[] args) {
        String input = "   user@example.com  ";
        String cleanedInput = input.trim();
        System.out.println(input);//输出:   user@example.com
        System.out.println(cleanedInput);//输出:user@example.com
    }
}
